package com.cc.model.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author CC
 * @version 1.0
 * @description: TODO
 * @date 2025/10/9 8:45
 */
@Data
@Schema(description = "订单信息")
public class OrderVo {
    /**
     * 订单唯一标识符
     */
    @Schema(description = "订单唯一标识符")
    private String orderId;

    /**
     * 供应商Id
     */
    @Schema(description = "供应商Id")
    private Integer supplierId;

    @Schema(description = "供应商名称")
    private String supplierName;

    @Schema(description = "订单日期")
    private Date orderDate;

    /**
     * 总金额
     */
    @Schema(description = "总金额")
    private Double totalAmount;

    /**
     * 订单状态 0：未发货   1：发货中  2：已发货  3：已收货
     */
    @Schema(description = "订单状态 0：未发货   1：发货中  2：已发货  3：已收货")
    private  int status;

    //子订单
    @Schema(description = "子订单")
    private List<OrderVo> childOrderList;

}
